﻿namespace Traffic.Entity;

/// <summary>
/// 线路地点
/// </summary>
public partial class LinePlace
{
    public int Id { get; set; }

    /// <summary>
    /// 商户ID  对应Company.ID
    /// </summary>
    public int? CompanyId { get; set; }

    /// <summary>
    /// 对应BusLineType.ID
    /// </summary>
    public int TypeId { get; set; }

    /// <summary>
    /// 对应ButLineType.TypeName
    /// </summary>
    public string TypeName { get; set; } = null!;

    /// <summary>
    /// 地点名称
    /// </summary>
    public string PlaceName { get; set; } = null!;

    /// <summary>
    /// 具体位置
    /// </summary>
    public string? Address { get; set; }

    /// <summary>
    /// 省份
    /// </summary>
    public string? Province { get; set; }

    /// <summary>
    /// 城市
    /// </summary>
    public string? City { get; set; }

    /// <summary>
    /// 镇区
    /// </summary>
    public string? District { get; set; }

    /// <summary>
    /// 经度 横轴 X
    /// </summary>
    public string? Longitude { get; set; }

    /// <summary>
    /// 纬度  竖轴  Y
    /// </summary>
    public string? Latitude { get; set; }

    /// <summary>
    /// 是否可上站  默认1可以  0：不可  1：可以
    /// </summary>
    public bool IsGetOn { get; set; }

    /// <summary>
    /// 是否可下站  默认1可以  0：不可  1：可以
    /// </summary>
    public bool IsGetOff { get; set; }

    /// <summary>
    /// 是否去程 默认1是  0:否
    /// </summary>
    public bool IsGo { get; set; }

    /// <summary>
    /// 状态  0：停用  1：启用
    /// </summary>
    public bool Status { get; set; }

    /// <summary>
    /// 南粤通站点ID
    /// </summary>
    public long NanYueStationId { get; set; }

    /// <summary>
    /// 使用一票通  默认0不使用    1使用
    /// </summary>
    public bool OneTicketService { get; set; }
}
